using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;

namespace TimeWar
{
    public class OctreeLeaf
    {

        private Vector3 m_vector;
        private VectorShape objectValue;

        public OctreeLeaf(Vector3 vector, VectorShape obj)
        {
            m_vector = vector;
            objectValue = obj;
        }

        public VectorShape LeafObject
        {
            get
            {
                return objectValue;
            }
        }

        public Vector3 Vector
        {
            get
            {
                return m_vector;
            }
        }

        public float X
        {
            get
            {
                return m_vector.X;
            }
            set
            {
                m_vector.X = value; ;
            }
        }
        public float Y
        {
            get
            {
                return m_vector.Y;
            }
            set
            {
                m_vector.Y = value; ;
            }
        }
        public float Z
        {
            get
            {
                return m_vector.Z;
            }
            set
            {
                m_vector.Z = value; ;
            }
        }


    }
}